package com.mofeng.myshop.domain.po;


import com.baomidou.mybatisplus.annotation.TableName;
import com.mofeng.myshop.domain.po.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户角色表/会员等级
 * </p>
 *
 * @author MoFeng
 * @since 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_user_role")
@Schema(name = "UserRole对象", description = "用户角色表/会员等级")
public class UserRole extends BaseEntity {
    @Schema(description= "等级到达门槛，消费多少钱")
    private Integer money;

    @Schema(description= "当前角色折扣值，小数")
    private Float discount;


}
